safe and truncate in django template

107

safe and truncate in django template -

{{post.context|striptags|slice:':300'}}

Comments

Submit
0 Comments